/*******************************************************************************
*  file    : sin_generator.cpp
*  created : 13.04.2012
*  author  : Slyshyk Oleksiy (alex312@meta.ua)
*******************************************************************************/

#include "sin_generator.hpp"
#include <cmath>

TSinGenerator::TSinGenerator(QWidget *parent) :
    TAbstractGenerator(parent)
{
}

double TSinGenerator::fx(double x)
{
    return m_Am * sin(m_omega*x + m_phi);
}

#include "moc_sin_generator.cpp"
